package com.xjscrm.console.chat.frame.send;

import com.xjscrm.console.chat.enums.ChatMsgType;
import com.xjscrm.console.dto.WwDeviceDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 拉取机器人的消息
 *
 * @author mingyang.chen create in 2024/3/11 18:08
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel
public class SGetDeviceInfoResultMsg extends SResultMsg {

    @ApiModelProperty("机器人设备信息")
    private WwDeviceDTO device;

    public SGetDeviceInfoResultMsg() {
        this.setResultType(ChatMsgType.s_get_device_info.getCode());
        this.setResultTypeDesc(ChatMsgType.s_get_device_info.getDesc());
    }

}
